# project/__init__.py
from flask import Flask
import routes
import models


def create_app():
    app = Flask(__name__)
    app.config.from_object('config')
    routes.init_app(app)
    models.init_app(app)
    return app
